package com.main.SSW567;

public class Week1 {
	public static void main(String args[]){
		double a,b,c;

		if (args.length!=3){
			System.out.println("invalid input,please check the number of parameters");

		}
		else try{
		a=Float.valueOf(args[0]).doubleValue();
		b=Float.valueOf(args[1]).doubleValue();
		c=Float.valueOf(args[2]).doubleValue();
		triangle t =new triangle(a,b,c);
		t.test();
		}catch(Exception e)
		{
			System.out.println("invalid input,please check the number of parameters and the type of input");
		}
				
	}
}


